<!-- #海报管理 -->
<?php use Workerman\Protocols\Http;

Workerman\Protocols\Http::sessionStart(); $G_MODEL_NAME =basename(__FILE__,'.php'); ?>






<div class="mod_<?php echo $G_MODEL_NAME; ?> row animated fadeInLeft">



    <div class="col-lg-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>
                    海报管理
                </h5>
                <div class="ibox-tools">

                    <button href="#" class="mod_btn_<?php echo $G_MODEL_NAME; ?> cps_poster_information_management_001 btn btn-success" data-text="添加" data-tap="add">
                        <i class="fa fa-plus"></i>
                        &nbsp;
                        <span class="bold">添加</span>
                    </button>

                    <button href="#" class="mod_btn_<?php echo $G_MODEL_NAME; ?> cps_poster_information_management_002 btn btn-success" data-text="修改" data-tap="edit">
                        <i class="fa fa-pencil"></i>
                        &nbsp;
                        <span class="bold">修改</span>
                    </button>


                    <button href="#" class="mod_btn_<?php echo $G_MODEL_NAME; ?> cps_poster_information_management_003 btn btn-success" data-text="删除" data-tap="delete">
                        <i class="fa fa-trash-o"></i>
                        &nbsp;
                        <span class="bold">删除</span>
                    </button>

                    <button href="#" class="mod_btn_<?php echo $G_MODEL_NAME; ?> btn btn-success" data-text="刷新" data-tap="refresh">
                        <i class="fa fa-refresh"></i>
                        <span class="bold">刷新</span>
                    </button>

                </div>
            </div>

            <div class="ibox-content m-b-sm border-bottom" style="display:none">
                <div class="row">
                    <div class="form-inline">
                        <div class="form-group" style="margin-left:1%">
                            <label class="font-noraml"><b>创建时间:</b></label>
                            <div class="form-group" id="emt_package_advanced_datepick">
                                <div class="input-daterange input-group" id="datepicker">
                                    <input type="text" class="input-sm form-control" name="mod_poster_information_management_datepick_from" value="<?php echo date('Y-m-d', strtotime('-1 days'));?>"/>
                                    <span class="input-group-addon">~</span>
                                    <input type="text" class="input-sm form-control" name="mod_poster_information_management_datepick_to" value="<?php echo date("Y-m-d");?>" />
                                </div>
                            </div>
                        </div>
                        <div class="form-group" style="margin-left:1%">
                            <label class="control-label">海报状态 </label>
                            <div class="input-group">
                                <select data-placeholder="海报状态..." class="chosen-select" style="width:200px;" tabindex="2" name="mod_poster_information_management_order_status">
                                    <option value=""></option>
                                    <option value="unlocked">校稿中</option>
                                    <option value="locked">超过校稿时间</option>
                                    <option value="work_order_generated">已校稿</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group" style="margin-left:1%">
                            <button class="btn btn-primary" name="btn_poster_information_management_search">
                                查询
                            </button>
                        </div>
                    </div>
                </div>
            </div>

            <div class="ibox-content">
                <div class="table-responsive">
                    <table id="<?php echo $G_MODEL_NAME; ?>_list" class="table table-striped table-bordered table-hover dataTables-example"
                           cellspacing="0" width="100%">
                        <thead>
                        <tr>
                            <th>ID</th>
                            <th>名称</th>
                            <th>状态</th>
                            <th>校稿次数</th>
                            <th>开始时间</th>
                            <th>截止时间</th>
                            <th>上传海报图片</th>
                            <th>绑定部门</th>
                            <th>导入按钮</th>
                            <th>锁定稿件</th>
                            <th>查看</th>
                            <th>发送邮件</th>
                        </tr>
                        </thead>
                        <tfoot>
                        <tr>
                            <th>ID</th>
                            <th>名称</th>
                            <th>状态</th>
                            <th>校稿次数</th>
                            <th>开始时间</th>
                            <th>截止时间</th>
                            <th>上传海报图片</th>
                            <th>绑定部门</th>
                            <th>导入按钮</th>
                            <th>锁定稿件</th>
                            <th>查看</th>
                            <th>发送邮件</th>
                        </tr>
                        </tfoot>
                    </table>
                </div>
            </div>
        </div>
    </div>

    <!-- modal dialog-->
    <div class="modal inmodal fade" id="dlg_<?php echo $G_MODEL_NAME; ?>_form" tabindex="-1" role="dialog"
         aria-hidden="true">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <form method="get" class="form-horizontal" id="<?php echo $G_MODEL_NAME; ?>_form">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal">
						<span aria-hidden="true">
							&times;
						</span>
                            <span class="sr-only">
							Close
						</span>
                        </button>
                        <h class="modal-title">
                            海报管理
                        </h>
                        <small class="font-bold">
                            所有带*的为必填项
                        </small>
                    </div>
                    <div class="modal-body">
                        <p>
                        <div class="row">
                            <div class="col-sm-6 b-r">
                                <input type="hidden" class="form-control" name="mod_poster_information_management_input_id" value=""/>

                                <div class="form-group">
                                    <label class="col-sm-3 control-label">名称 *</label>
                                    <div class="col-sm-9">
                                        <input type="text" class="form-control" name="mod_poster_information_management_input_name">
                                    </div>
                                </div>
                                <div class="hr-line-dashed"></div>
                                <!--<div class="form-group">
                                    <label class="col-sm-3 control-label">部门 *</label>
                                    <div class="col-sm-9">
                                        <div class="input-group" style="width:100%">
                                            <select data-placeholder="选择部门..." class="chosen-select" tabindex="2" name="mod_poster_information_management_input_department_id">
                                                <option value=""></option>
                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <div class="hr-line-dashed"></div>-->

<!--                                <div class="form-group datepicker_addon">-->
<!--                                    <label class="col-sm-3 control-label">截止时间 *</label>-->
<!--                                    <div class="col-sm-9">-->
<!--                                        <div class="input-daterange input-group date">-->
<!--                                            <span class="input-group-addon"><i class="fa fa-calendar"></i></span>-->
<!--                                            <input type="text" class="input-sm form-control" value="--><?php //echo date('Y/m/d',time());?><!--" name="mod_poster_information_management_input_end_time">-->
<!---->
<!--                                        </div>-->
<!--                                    </div>-->
<!--                                </div>-->



                                <div class="form-group datepicker_addon">
                                    <label class="col-sm-3 control-label">截止时间 *</label>
                                    <div class="col-sm-9">
                                        <input class="input-sm form-control" type="text" name="mod_poster_information_management_input_end_time" value="请选择稿件截止时间" id="test1">
                                    </div>
                                </div>










<!--                                <div class="form-group">-->
<!--                                    <label class="col-sm-2 control-label">普通：</label>-->
<!--                                    <div class="col-sm-10">-->
<!--                                        <input class="form-control layer-date" placeholder="YYYY-MM-DD hh:mm:ss" onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})" id="start">-->
<!--                                        <label class="laydate-icon"></label>-->
<!--                                    </div>-->
<!--                                </div>-->


                            </div>
                        </div>
                        </p>

                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-white" data-dismiss="modal">
                            关闭
                        </button>
                        <button type="submit" class="btn btn-primary">
                            保存
                        </button>
                    </div>
                </form>
            </div>
        </div>
    </div>
    <!-- end -->


    <!-- modal dialog-->
    <div class="modal inmodal fade" id="dlg_<?php echo $G_MODEL_NAME; ?>_poster_upload_form" tabindex="-1" role="dialog"
         aria-hidden="true">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <form method="get" class="form-horizontal" id="<?php echo $G_MODEL_NAME; ?>_poster_upload_form">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal">
						<span aria-hidden="true">
							&times;
						</span>
                            <span class="sr-only">
							Close
						</span>
                        </button>
                        <h class="modal-title">
                            上传海报图片（第<span class="poster_number">1</span>次校稿）
                        </h>
                    </div>
                    <div class="modal-body">
                        <div class="row" style="margin-bottom:2%;">
                            <div class="form-inline">
                                <div class="form-group" style="margin-left:1%">
                                    <label class="control-label">海报页数 </label>
                                    <div class="input-group">
                                        <select data-placeholder="海报页数..." class="chosen-select " style="width:200px;" tabindex="2" name="mod_poster_information_management_page">
                                            <option value="1">第1页</option>
                                            <option value="2">第2页</option>
                                            <option value="3">第3页</option>
                                            <option value="4">第4页</option>
                                        </select>
                                    </div>
                                </div>



                                <!-- <div class="form-group" style="margin-left:2%">
                                     <label class="control-label">海报版本 </label>
                                     <div class="input-group">
                                         <select data-placeholder="海报版本..." class="chosen-select" style="width:200px;" tabindex="2" name="mod_poster_information_management_area">
                                             <option value="1">广佛版</option>
                                             <option value="2">粤东版</option>
                                             <option value="3">粤西版</option>
                                             <option value="4">钦州版</option>
                                         </select>
                                     </div>
                                 </div>-->

                                <div style="margin-left: 2%;display: inline-block;vertical-align: middle;">
                                    <input type="number" placeholder="请输入页码" maxlength="3"  class="form-control" name="mod_poster_information_management_page_number">
                                </div>

                            </div>

                        </div>


                        <input type="file" name="file-0" id="txt_file" class="file-loading" />
                    </div>
                </form>
            </div>
        </div>
    </div>
    <!-- end -->


    <!-- modal dialog btn-->

    <div class="modal inmodal fade" id="dlg_<?php echo $G_MODEL_NAME; ?>_poster_upload_csv" tabindex="-1" role="dialog"
         aria-hidden="true">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <form method="get" class="form-horizontal" id="<?php echo $G_MODEL_NAME; ?>_poster_upload_csv">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal">
						<span aria-hidden="true">
							&times;
						</span>
                            <span class="sr-only">
							Close
						</span>
                        </button>
                        <!--                        <h class="modal-title">-->
                        <!--                            上传海报图片（第<span class="poster_number">1</span>次校稿）-->
                        <!--                        </h>-->
                    </div>
                    <div class="modal-body">
                        <div class="row" style="margin-bottom:2%">
                            <div class="form-inline">
                                <div class="form-group" style="margin-left:1%">
                                    <label class="control-label">海报页数 </label>
                                    <div class="input-group">
                                        <select data-placeholder="海报页数..." class="chosen-select" id="after-btn" style="width:200px;" tabindex="2" name="mod_poster_information_management_page_btn">
                                            <option value="1">第1页</option>
                                            <option value="2">第2页</option>
                                            <option value="3">第3页</option>
                                            <option value="4">第4页</option>
                                        </select>
                                    </div>
                                </div>

                                <span style="margin-left: 2%;color: red;" class="after-btn-title"></span>

                                <!-- <div class="form-group" style="margin-left:2%">
                                     <label class="control-label">海报版本 </label>
                                     <div class="input-group">
                                         <select data-placeholder="海报版本..." class="chosen-select" style="width:200px;" tabindex="2" name="mod_poster_information_management_area">
                                             <option value="1">广佛版</option>
                                             <option value="2">粤东版</option>
                                             <option value="3">粤西版</option>
                                             <option value="4">钦州版</option>
                                         </select>
                                     </div>
                                 </div>-->
                            </div>
                        </div>

                        <input type="file" name="file-1" id="btn_file" class="file-loading" />
                    </div>
                </form>
            </div>
        </div>
    </div>

    <!-- end -->


    <!-- modal dialog-->
    <div class="modal inmodal fade" id="dlg_<?php echo $G_MODEL_NAME; ?>_poster_picture_department_form" tabindex="-1" role="dialog"
         aria-hidden="true">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <form method="get" class="form-horizontal" id="<?php echo $G_MODEL_NAME; ?>_poster_picture_department_form">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal">
						<span aria-hidden="true">
							&times;
						</span>
                            <span class="sr-only">
							Close
						</span>
                        </button>
                        <h class="modal-title">
                            绑定部门（第<span class="poster_number">1</span>次校稿）
                        </h>
                    </div>
                    <div class="modal-body" id="poster_picture_department_body">
                        <input type="hidden" class="form-control" name="mod_poster_information_management_input_poster_contents_id" value=""/>
                        <div class="row" style="margin-bottom:2%">
                            <div class="form-inline">
                                <div class="form-group" style="margin-left:1%">
                                    <label class="control-label">海报页数    </label>
                                    <div class="input-group">
                                        <select data-placeholder="海报页数..." class="chosen-select" style="width:200px;" tabindex="2" name="mod_poster_picture_department_page">
                                            <option value="1">第1页</option>
                                            <option value="2">第2页</option>
                                            <option value="3">第3页</option>
                                            <option value="4">第4页</option>
                                        </select>
                                    </div>
                                </div>

                                <div class="form-group" style="margin-left:3%;">
                                    <label class="control-label">绑定部门</label>
                                    <div class="input-group" style="width:200px">
                                        <select data-placeholder="选择部门..." multiple class="chosen-select" tabindex="2" name="mod_poster_picture_department_binding">
                                            <option value="">采购部</option>
                                            <option value="">市场1部</option>
                                            <option value="">市场2部</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group" style="margin-left:3%">
                                    <button class="btn btn-primary" href="#" name="btn_poster_picture_department_binding">
                                        <i class="fa fa-check"></i>
                                        <span class="bold">确认绑定</span>
                                    </button>
                                </div>
                                <div class="form-group" style="margin-left:3%">
                                    <button class="btn btn-danger" href="#" name="btn_poster_picture_department_delete">
                                        <i class="fa fa-trash-o"></i>
                                        <span class="bold">删除页</span>
                                    </button>
                                </div>
                            </div>
                        </div>
                        <div name="mod_poster_picture_department_picture_list">
                            <div style="margin-bottom: 3%;">
                                <div class="chat-activity-list">
                                    <div class="chat-element" style="overflow: visible;height: 120px;">
                                        <a href="#" class="pull-left">
                                            <img alt="image" class="img-circle" style="width: 100px;height: 100px;border-radius: 10%;" src="img/a2.jpg">
                                        </a>
                                        <strong>粤西版</strong>
                                    </div>
                                </div>
                            </div>

                            <div style="margin-bottom: 3%;">
                                <div class="chat-activity-list">

                                    <div class="chat-element" style="overflow: visible;height: 120px;">
                                        <a href="#" class="pull-left">
                                            <img alt="image" class="img-circle" style="width: 100px;height: 100px;border-radius: 10%;" src="img/a2.jpg">
                                        </a>
                                        <strong>广佛版</strong>
                                    </div>
                                </div>
                            </div>
                        </div>

                    </div>
                </form>
            </div>
        </div>
    </div>
    <!-- end -->


</div>




